﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Gui
{
    class ParallelMenu : Menu
    {
        private string[] args;

        public ParallelMenu(string[] args)
            :base(args)
        {
            // TODO: Complete member initialization
           
        }
        protected override void menuItemCheck(int choise)
        {
            
        }

        protected override void initiateMenu()
        {
            add(new QuickSortOption("Run quicksort test"), true);//option 1
            add(new MergeSortOption("Run MergeSort test"), true);//option 2
            add(new ArrayTesting(), true);//option 3
            add(new QuickSortCommandOption("Run Quicksort command"));//test option 1
           // ActiveStyle = new ClassicStyle();
        }

        protected override void MenuStartingArgs(string[] args)
        {
            //Console.WriteLine("output to text");
            //Environment.Exit(1);
            choose(2);//;if you quickly want to execute a menuitem before the menu put in the number of the menuitem
            Environment.Exit(1);
        }
    }
}
